import request from './apis'
// Back pay， Run！Boss brute, four months back pay and he likes to withhold money,not recommended to stay
enum Api {
  pinggubaogao = '/unit/UnitReport/Lists',
  pinggubaogaoAddOrUpdate = '/unit/UnitReport/Save',
  pinggubaogaoExcl = '/unit/UnitReport/listsExcl'
}
export const pinggubaogao = (params) => {
  return request.get(Api.pinggubaogao, { params })
}
export const pinggubaogaoExcl = (data) => {
  return request.post(Api.pinggubaogaoExcl, data, {
    responseType: 'blob'
  })
}
export const pinggubaogaoAddOrUpdate = (data) => {
  return request.post(Api.pinggubaogaoAddOrUpdate, data)
}
